
<meta charset="utf-8">
<script>
    var money = 1000;
    alert(money);

    var wanghaocore = 80;
    var zhangtaocore;
    zhangtaocore = wanghaocore;
    alert("张涛的成绩是："+zhangtaocore);

    document.write(1+1+"<br/>");
    document.write(1-1+"<br/>");
    document.write(12*12+"<br/>");
    document.write(100/3+"<br/>");
    document.write(10%3+"<br/>");

    var r = prompt("请您输入圆的半径：");
    alert("圆的面积是"+r*r*Math.PI);

    document.write((1>=1)+"<br/>");
    document.write((1<=1)+"<br/>");
    document.write((1!=1)+"<br/>");
    document.write((1==1)+"<br/>");
    document.write((1>1)+"<br/>");
    document.write((1<1)+"<br/>");

    var price = prompt("请您输入商品的价格：");
    alert("商品打折后的价格是"+price*0.8);
</script>